﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace U.B.DoMain
{
    [Table("User")]
    public class User: Baseuser
    {
        [Key]
        public int UserId { get; set; }
        public string UserName { get; set; }
        public string UserPwd { get; set; }
        public int DepartmentId { get; set; }
        /// <summary>
        /// 省份
        /// </summary>
        public string Province { get; set; }
        /// <summary>
        /// 市
        /// </summary>
        public string City { get; set; }
        /// <summary>
        /// 县
        /// </summary>
        public string County { get; set; }
        public bool UserSex { get; set; }
        public string UserAddress { get; set; }
        /// <summary>
        /// 是否领导人
        /// </summary>
        public int PowerId { get; set; }

    }
}
